package com.ysd.entity;

/**
 * 书分类
 * @author dzj20
 *
 */
public class Category {
	private Integer c_id; // 分类编号
	private String c_name; // 分类名
	private Integer c_parentid; // 父id

	private Category category;
	private Integer page;
	private Integer limit;

	
	public Category(Integer c_id, String c_name, Integer c_parentid, Category category, Integer page, Integer limit) {
		super();
		this.c_id = c_id;
		this.c_name = c_name;
		this.c_parentid = c_parentid;
		this.category = category;
		this.page = page;
		this.limit = limit;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

	public Integer getC_id() {
		return c_id;
	}

	public void setC_id(Integer c_id) {
		this.c_id = c_id;
	}

	public String getC_name() {
		return c_name;
	}

	public void setC_name(String c_name) {
		this.c_name = c_name;
	}

	public Integer getC_parentid() {
		return c_parentid;
	}

	public void setC_parentid(Integer c_parentid) {
		this.c_parentid = c_parentid;
	}

	public Category getCategory() {
		return category;
	}

	public void setCategory(Category category) {
		this.category = category;
	}

	public Category(Integer c_id, String c_name, Integer c_parentid, Category category) {
		super();
		this.c_id = c_id;
		this.c_name = c_name;
		this.c_parentid = c_parentid;
		this.category = category;
	}

	public Category() {
		super();
	}

	@Override
	public String toString() {
		return "Category [c_id=" + c_id + ", c_name=" + c_name + ", c_parentid=" + c_parentid + ", category=" + category
				+ ", page=" + page + ", limit=" + limit + "]";
	}

	

}
